package com.neusoft.neuiotms.dcam.workflow.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcam.workflow.model.RukuSL;

public interface RukuSLRepository extends JpaRepository<RukuSL, Long>, CustomizedRukuSLRepository {

    RukuSL findByTaskId(String taskId);

    RukuSL findByWorkOrderNumAndTaskId(String workOrderNum, String taskId);

    List<RukuSL> findByWorkOrderNum(String workOrderNum);

    RukuSL findTopByWorkOrderNumOrderByCreateTimeDesc(String workOrderNum);
}
